import scrapy
from scrapy.http import Request
from dangdangSpider.items import DangdangspiderItem

class DangSpider():
	name = 'dangdangSpider'
	allowed_domins = ['dangdang.com']
	start_url = ['http://book.dangdang.com/01.54.htm']

	def parse(self,response):
		link = response.xpath('//a[@class="img"]/@href').extract()
		yield link